Use uv and caching in CI#4515
Conversation
Should speed things up.
v8.0.0 exists, but they haven't made a major tag yet.
97aea67 to
75a5151
Compare
|
very cool. |
|
So Python is also cached on many of the github runners, so |
|
Put another way, |
|
OK. Thanks. THis is super clear. |
|
Thanks @galenlynch , looks like this cuts 20s or so off some of our test runs. Really really beneficial when doing the core tests, which can now take less than a minute to run in CI in full!!! Amazing. |
|
Heads-up: looking at the nightly "Full spikeinterface tests codecov" runs on Pre-merge (last 10 successful nightly runs, Apr 7 to Apr 16): average ~38 min (range 33 to 41). Small sample and the cache may not have fully warmed in the first few days, but there is no sign of a speedup so far on the full matrix. The core tests do seem faster, which matches what was reported in the thread. Two things that might be worth checking:
Numbers pulled via |
|
I think this is because the caching is broken: https://github.com/SpikeInterface/spikeinterface/actions/runs/24653179008/job/72080347711 |
|
Looking at the individual test times in detail, the difference is almost entirely down to |
Should speed things up!